#include<iostream>
#include<string>
using namespace std;

template<typename R, typename... Args>
class A
{
public:
	void Print(void)
	{
		cout<< sizeof...(Args) <<endl;
	}
};

int main(void)
{
	A<int, double, float, string> ca;
	A<int, decltype(3.14), decltype(1.23f), decltype(string("hello")), decltype("hello")> cb;
	ca.Print();
	cb.Print();

	return 0;
}
